<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const obj = {
            name : "Pite",
            age : 19,
            address : "shanghai"
        }
        // for(key in obj)
        // {
        //     console.log(key)
        // }

        Object.keys(obj).filter((item) => item.startsWith('a')).forEach((item) => console.log(item))
    </script>
</body>
</html>